using System;
using System.ComponentModel;
using System.Threading;
using System.ServiceProcess;

using InfoCenter.Agent.Helpers;

namespace SXDClient
{
  public class SXDClient : System.ServiceProcess.ServiceBase
  {
    private static Thread  listenerThread;
	private static Listener listener; 
    

    // The main entry point for the process of service
    static void Main()
    {
      listener = new Listener();
				   //listener.Run = true;
      listenerThread = new Thread(new ThreadStart(listener.Start));
      listenerThread.Start();
    }  
  } 
} 